Repository navigation
Fix login recovery and MP3 CDN URL parsing - #2
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
LikeFolder stopped device-login polling after temporary DNS or connection errors, even when the browser had approved authorization. MP3 export also rejected valid CDN timestamps containing hexadecimal letters, reporting an unsupported CDN response before attempting the audio download.
Validation: all 16 unit tests and APK assembly passed in GitHub Actions for commit ab46663. Tests cover login recovery/cancellation and exact CDN URL construction, hex and decimal timestamps, preservation of case/leading zeros, and invalid/missing fields. git diff --check passed.
Build: https://github.com/jaFuart/LikeFolder/actions/runs/42582119474
APK archive: https://github.com/jaFuart/LikeFolder/actions/runs/42582119474/artifacts/13657626981
CDN format references: https://github.com/MarshalX/yandex-music-api/blob/main/yandex_music/download_info.py and https://github.com/jmper-ha/jradio/blob/3e531b7a5ac6f810c069d0c2a9d2d726b6d4fcf5/tests/test_yandex_link.c
The user confirmed login works in 0.1.1. Export with their account must still be verified on the phone; no user token or private CDN response was accessed. Persistent network failures remain outside the scope of the login retry fix.